<template>
	<view class="page " :style="{'min-height':h+'px','padding-top':(mt)+'px'}">
		<c-nav-bar :title="title"></c-nav-bar>
		<view class="image" v-for="item,index in image" :key="index">
			<image :src="item" mode="widthFix"></image>
		</view>
	</view>



</template>

<script>
	export default {
		data() {
			return {
				title: '资质备案',
				h: uni.getSystemInfoSync().windowHeight,
				mt: uni.getSystemInfoSync().statusBarHeight + 44,
				image: []
			}

		},
		onLoad(opt) {
			let list = JSON.parse(opt.list);
			if(Array.isArray(list)) this.image = list;
			else this.image = opt.list.split(',')
		},
		methods: {

		}
	}
</script>
<style lang="less" scoped>
	.page {
		width: 100vw;
		height: 100vh;

		box-sizing: border-box;

	}

	.image {
		box-sizing: border-box;
		width: 100%;
		padding: 30rpx;
		// height: 100%;

		image {
			width: 100%;
			// height: 100%;
		}
	}
</style>